package com.sc.nft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.entity.DaoSchoolMaterial;
import com.sc.nft.entity.dto.DaoSchoolMaterialPageAdminDTO;
import com.sc.nft.entity.vo.DaoSchoolMaterialArticlePageAdminVO;
import org.apache.ibatis.annotations.Param;

/**
 * 文章表与子分类关联表(DaoSchoolMaterial)表数据库访问层
 *
 * @author makejava
 * @since 2023-03-13 16:22:05
 */
public interface DaoSchoolMaterialMapper extends BaseMapper<DaoSchoolMaterial> {

    /**
     * 后台获取分页列表
     *
     * @param pageRequest
     * @return
     */
    Page<DaoSchoolMaterialArticlePageAdminVO> pageAdmin(Page page, @Param("data") DaoSchoolMaterialPageAdminDTO daoSchoolMaterialPageAdminDTO);

}
